#include "map.h"
#include"set.h"


int main()
{
	map<int, int> mp;
	mp.insert(make_pair(3, 4));
	mp.insert(make_pair(1, 2));
	mp.insert(make_pair(2, 3));
	mp.insert(make_pair(5, 7));
	mp.insert(make_pair(7, 5));

	for (auto it : mp)
	{
		it.second = 1;
		cout << it.first  << " " << it.second << endl;
	}

	set<int> se;

	se.insert(1);
	se.insert(0);
	se.insert(4);
	se.insert(7);
	se.insert(8);
	auto its = se.find(1);
	cout << *its << endl;
	

	return 0;
}
